home *** CD-ROM | disk | FTP | other *** search
- ;
- ; AnnCtr
- ;
- ; $header: $
- ;
- ; assign the mailbox number
- [Startup]
- Action=boxid
- Prompt=$1
- Delay=0
- Default=checksupA
- Button=SOFTABORT
-
- ; Determine if superuser or not and act accordingly
- [checksupA]
- Prompt=
- Action=noaction
- Menu14=Password
- Superuser=Password
- Delay=0
- Default=PlayAnnc
-
- ; play the user announcement
- [PlayAnnc]
- Action=Play
- Prompt=$greeting
- Menu14=Password
- Superuser=Password
- ; exit so that the "Goodbye" is heard
- ;Default=GoodBye
- ;exit, so that the "Goodbye" is not heard
- ;Default=exit
- ; Only play the message once.....
- ;
- Menu08=FaxMode
- Menu09=DataMode
- ;Go back to Main Menu
- Default=Return
- Retries=3
- Delay=3
- Button=SOFTABORT
-
- ; Switches to Fax mode
- [FaxMode]
- Action=FaxMode
- Prompt=
- Default=
- Delay=0
-
- ; Switches to Data mode
- [DataMode]
- Action=DataRecv
- Prompt=
- Default=
- Delay=0
-
- [exit]
- Prompt=
- Default=
- Delay=0
- Action=hangup
-
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;
- ; - Insert StdCtr below here and do the following
- ; to the code you have inserted.
- ;
- ; - delete or comment out 'Startup' section
- ; - delete or comment out 'CheckSuper' section
- ; - delete or comment out 'Record' section
- ; - delete or comment out 'EndRec' section
- ; - delete or comment out 'DiskFull' section
- ; - delete or comment out 'UserMenu' section
- ; - delete or comment out 'Playback' section
- ; - replace 'Prompt=Save' with 'Prompt=' in [Return] section
- ;
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
- ;
- ; StdCtr
- ;
-
-
- ; Notify user to start recording now
-
- [PlayGreeting]
- Action=Play
- Prompt=$greeting
- Menu14=Password
- Superuser=Password
- Menu15=record
- ; this will play start recording now....
- ;Default=PlayGreeting2
- ; this will skip it
- Default=record
- Delay=0
- Button=SOFTABORT
-
- [PlayGreeting2]
- Action=Play
- Prompt=V\STARTMSG.
- Menu14=Password
- Superuser=Password
- Default=Record
- Delay=0
- Button=SOFTABORT
-
- ;
- ; Begin common
- ;
-
- ; assign the mailbox number
- ;[Startup]
- ;Action=boxid
- ;Prompt=$1
- ;Delay=0
- ;Button=SOFTABORT
- ;Default=checksuper
-
- ; Determine if leave msg or retrieve msg mode
- ;[checksuper]
- ;Prompt=
- ;Action=noaction
- ;Menu14=Password
- ;Superuser=Password
- ;Delay=0
- ;Default=PlayGreeting
-
- ; Record the message
- ;[Record]
- ;Prompt=$message
- ;Action=record
- ;Error=DiskFull
- ;Default=EndRec
- ;Button=SOFTABORT
- ;Delay=1
-
- ; Play - 'recording stopped'
- ;[EndRec]
- ;Action=Play
- ;Prompt=V\ENDREC.
- ;Menu01=Playback
- ;Menu02=Record
- ;Menu14=Return
- ;Menu15=GoodBye
- ;Default=UserMenu
- ;Retries=3
- ;Button=SOFTABORT
- ;Delay=0
-
- ; Play - 'mailbox full'
- ;[DiskFull]
- ;Action=Play
- ;Prompt=V\ENDREC.+V\MBFULL.
- ;Menu01=Playback
- ;Menu14=Return
- ;Menu15=GoodBye
- ;Default=UserMenu
- ;Retries=3
- ;Delay=0
-
- ; Allow user to hear instructions for playing back the message etc.
- ;[UserMenu]
- ;Action=Play
- ;Prompt=V\CALLMENU.
- ;Menu01=Playback
- ;Menu02=Record
- ;Menu14=Return
- ;Menu15=GoodBye
- ;Default=GoodBye
- ;Button=SOFTABORT
- ;Retries=2
- ;Delay=3
-
- ; Play the message
- ;[Playback]
- ;Action=Play
- ;Prompt=$message
- ;Menu14=Return
- ;Menu15=UserMenu
- ;Default=UserMenu
- ;Button=SOFTABORT
- ;Delay=0
-
- ; Save msg & exit
- [Return]
- Action=SetUser
- Prompt=
- Menu00=
- Default=MainMenu
-
- [MainMenu]
- Action=ReturnMenu
- ;Prompt=Save
- Menu00=
- Default=
-
-
- ; Request user to enter password (limited to 2 digits)
- [Password]
- Prompt=V\PASSWRDQ.
- Action=capturedigits
- value=2
- Menu00=MatchSpecial
- Menu15=GoodBye
- Default=Password
- Retries=3
- Button=SOFTABORT
- Delay=6
-
- ; Data discrimination
- [MatchSpecial]
- Action=matchdigits
- Prompt=9*
- Menu00=datadisc
- ;Value used in this menu to set limit on
- ;number of times MatchDig can be called
- Error=GoodBye
- Default=ChkFaxMode
- Delay=0
- ;
-
- [ChkFaxMode]
- Action=matchdigits
- Prompt=8*
- Menu00=Faxmode
- ;Value used in this menu to set limit on
- ;number of times MatchDig can be called
- Error=GoodBye
- Default=MatchDigs
- Delay=0
- ;
-
- [FaxMode]
- Action=Faxmode
- Prompt=
- Default=
- Delay=0
-
-
- [DataDisc]
- Action=datarecv
- Prompt=
- Menu00=
- Error=
- Default=
- ;
-
- [MatchDigs]
- Action=matchdigits
- Prompt=$password
- Menu00=setsuper
- ;Value used in this menu to set limit on
- ;number of times MatchDig can be called
- Value=3
- Error=GoodBye
- Default=Password
- Delay=0
-
- ;
- [setsuper]
- Action=setsuperuser
- Prompt=
- Default=EndOpt
-
- ; Check for new messages
- [StartupCheck]
- Action=SetList
- Prompt=$newlist
- EmptyList=NoNew
- Default=NewInfo
- Retries=0
- Delay=0
-
- ; Notify user no new messages
- [NoNew]
- Action=Play
- Prompt=V\NONEWMSG.
- Menu14=EndOpt
- Menu15=GoodBye
- Default=CheckOldList
- Retries=1
- Delay=1
- Button=SOFTABORT
-
- ; Check for old messages
- [CheckOldList]
- Action=SetList
- Prompt=$OldList
- EmptyList=NoOld
- Default=OldInfo
- Retries=0
- Delay=0
- Button=SOFTABORT
-
- ; Notify user no old messages
- [NoOld]
- Action=Play
- Prompt=V\NOOLDMSG.
- Menu14=EndOpt
- Menu15=GoodBye
- Default=EndOpt
- Retries=2
- Delay=1
- Button=SOFTABORT
-
- ; Notify user count of new voice and fax messages
- [NewInfo]
- Action=Play
- Prompt=V\YOUHAVE.+$voiceMWI+V\JUSTNEW.+$ifone+V\VXMSG.|V\VXMSGS.+V\YOUHAVE.+$faxMWI+V\JUSTNEW.+$ifone+V\FAXMSG.|V\FAXMSGS.
- Menu06=GetFirst
- Menu14=EndOpt
- Menu15=GoodBye
- Default=GetFirst
- Retries=1
- Delay=2
- Button=SOFTABORT
-
- ; Notify user count of old voice and fax messages
- [OldInfo]
- Action=Play
- Prompt=V\YOUHAVE.+$allMWI+V\OLD.+$ifone+V\MESSAGE.|V\MESSAGES.
- Menu06=GetFirst
- Menu14=EndOpt
- Menu15=GoodBye
- Default=GetFirst
- Retries=1
- Delay=1
- Button=SOFTABORT
-
- ; Get first message
- [GetFirst]
- Action=GetMsg
- Prompt=$firstmsg
- Default=MsgInfo
- Retries=0
- Delay=0
- Button=SOFTABORT
-
- ; Notify user about information for the message
- [MsgInfo]
- Action=Play
- Prompt=$current+V\RECEIVED.+$msgdate+V\AT.+$msgtime
- Menu05=GetPrev
- Menu06=GetNext
- Menu14=EndOpt
- Menu15=GoodBye
- Default=PlayMsg
- Retries=3
- Delay=2
- Button=SOFTABORT
-
- ; Play current message
- [PlayMsg]
- Action=Play
- Prompt=$altmessage
- Menu05=GetPrev
- Menu06=GetNext
- Menu14=EndOpt
- Menu15=EndPlay
- Default=EndPlay
- Retries=3
- Delay=1
- Button=SOFTABORT
-
- ; Prompt user to replay message,mark old,remove,get next message,or end
- [EndPlay]
- Action=Play
- Prompt=V\USERM1A.+$ifnew+V\USERM2A.+V\USERM3A+$iffax+V\USERM4.+V\USERM5A.+V\USERM6A.
- Menu01=Replay
- Menu02=MarkOld
- Menu03=RemMsg
- Menu04=FaxBack
- Menu05=GetPrev
- Menu06=GetNext
- Menu14=EndOpt
- Menu15=GoodBye
- Default=EndPlay
- Delay=2
- Button=SOFTABORT
- Retries=2
-
- ; Get next message
- [GetNext]
- Action=GetMsg
- Prompt=$nextmsg
- Default=MsgInfo
- EndOfList=EndNew,EndOld
- Button=SOFTABORT
-
- ; tell the user that this is the end of the new msg list
- [EndNew]
- Action=play
- Prompt=V\ENDNEW.
- Menu06=CheckOldList
- Menu14=EndOpt
- Menu15=GoodBye
- Default=CheckOldList
- Delay=1
- Retries=1
- Button=SOFTABORT
-
- ; Get previous message
- [GetPrev]
- Action=GetMsg
- Prompt=$prevmsg
- Default=MsgInfo
- Button=SOFTABORT
-
- ; Fax back the fax message
- [FaxBack]
- Action=Faxback
- Prompt=$altmessage
- Default=FaxDone
- Error=EndPlay
- Delay=0
- Button=SOFTABORT
-
- ; Notify user that fax message is queued for sending
- [FaxDone]
- Action=Play
- Prompt=V\FAXSEND.
- Menu06=FaxRead
- Menu14=Return
- Menu15=GoodBye
- Default=FaxRead
- Delay=1
- Button=SOFTABORT
-
- ; Mark fax message as read
- [FaxRead]
- Action=UpdateMsg
- Prompt=$markread
- Default=GetNext
- Button=SOFTABORT
-
- ; Mark message as old
- [MarkOld]
- Action=UpdateMsg
- Prompt=$markread
- Default=PlayOld
- Button=SOFTABORT
-
- ; Notify user message marked as old
- [PlayOld]
- Action=Play
- Prompt=V\MARKOLD.
- Menu05=GetPrev
- Menu06=GetNext
- Menu14=EndOpt
- Menu15=GoodBye
- Default=GetNext
- Retries=1
- Delay=1
- Button=SOFTABORT
-
- ; Remove message
- [RemMsg]
- Action=UpdateMsg
- Prompt=$remove
- Default=PlayRem
- Button=SOFTABORT
-
- ; Notify user that message removed
- [PlayRem]
- Action=Play
- Prompt=V\REMOVED.
- Menu06=GetNext
- Menu14=EndOpt
- Menu15=GoodBye
- Default=GetNext
- Retries=1
- Delay=1
- Button=SOFTABORT
-
- ; Replay the message
- [Replay]
- Action=Play
- Prompt=$altmessage
- Menu06=EndPlay
- Menu14=EndOpt
- Menu15=GoodBye
- Default=EndPlay
- Retries=3
- Delay=1
- Button=SOFTABORT
-
- ; Tell the users that this is the end of the old message list
- [EndOld]
- Action=play
- Prompt=V\ENDSAVED.
- Menu14=EndOpt
- Menu15=GoodBye
- Default=EndOpt
- Delay=2
- Retries=1
- Button=SOFTABORT
-
- ; Prompt user to restart, change password, re-record spoken name, or exit
- [EndOpt]
- Action=Play
- Prompt=V\RESTART.+V\USERM7.+V\EXIT.
- Menu01=StartUpCheck
- Menu06=StartUpCheck
- Menu07=NewPass
- ;;;;;; Keeps the superuser mode when returning...
- ;;;;;;Menu14=ResetSuper
- Menu14=Return
- Menu15=GoodBye
- Default=EndOpt
- Retries=2
- Delay=2
- Button=SOFTABORT
-
-
- [ResetSuper]
- Action=SetUser
- Prompt=
- Menu00=
- Default=Return
-
- ; password change 1/6. Ask for the new password (limited to 2 digits)
- [NewPass]
- Prompt=V\NEW.+V\PASSWORD.
- Action=password
- value=2
- Menu00=AgainDigs
- Default=NewPass
- Delay=5
- Button=SOFTABORT
-
- ; password change 2/6. Ask for it again (limited to 2 digits)
- [AgainDigs]
- Prompt=V\NEW.+V\PASSWORD.+V\AGAIN.
- Action=capturedigits
- value=2
- Menu00=CheckPass
- Default=AgainDigs
- Delay=8
- Button=SOFTABORT
-
- ; password change 3/6. compare the 2
- [CheckPass]
- Action=matchdigits
- Prompt=$password
- Menu00=WritePass
- Default=BadPass
- Delay=0
- Button=SOFTABORT
-
- ; password change 4/6. Notify User that password change failed
- [BadPass]
- Action=Play
- Prompt=V\BADPASS.
- Delay=3
- Menu15=GoodBye
- Default=EndOpt
- Button=SOFTABORT
-
- ; password change 5/6. Update the ini file with new password
- [WritePass]
- Action=WriteIniFile
- Prompt=$mailbox
- Default=WriteDone
- Delay=0
- Button=SOFTABORT
-
- ; password change 6/6. Play 'DONE'
- [WriteDone]
- Action=Play
- Prompt=V\DONE.
- Menu14=EndOpt
- Menu15=GoodBye
- Default=EndOpt
- Delay=3
- Button=SOFTABORT
-
- [SOFTABORT]
- Prompt=
- Action=exit
- Default=
- Delay=0
-
- [GOODBYE]
- Prompt=
- Action=faxsend
- Default=WAVE_BYE
- Delay=0
- Menu00=FODFAXBACK
-
- [FODFAXBACK]
- Prompt=FAXBACK.VMU
- Action=callmenu
- Default=WAVE_BYE
- Delay=0
-
- [WAVE_BYE]
- Prompt=V\GOODBYE.
- Action=play
- Default=GOODBYE_BODY
- Delay=0
-
- [GOODBYE_BODY]
- Prompt=
- Action=hangup
- Default=
- Delay=0
-